/**
 * @constructor
 * @param{DebugConsole} outputConsole
 */
function MenuManager(outputConsole) {

	this.placeType = PlaceType.IMPASSABLE_TERRAIN;
	this.outputConsole = outputConsole;
	
	/**
	 * @public
	 * @param placeType
	 */
	this.setPlaceType = function(placeType) {
		this.placeType = parseInt(placeType);
		
		switch(this.placeType) {
		case PlaceType.PASSABLE_TERRAIN: {
			this.outputConsole.clearConsole();
			this.outputConsole.toConsole("Place passable terrain");
			break;
		}
		case PlaceType.IMPASSABLE_TERRAIN: {
			this.outputConsole.clearConsole();
			this.outputConsole.toConsole("Place impassable obstacle(s)");
			break;
		}
		case PlaceType.SOMEWHAT_PASSABLE_TERRAIN: {
			this.outputConsole.clearConsole();
			this.outputConsole.toConsole("Place somewhat passable obstacle(s)");
			break;
		}
		case PlaceType.PATH_START: {
			this.outputConsole.clearConsole();
			this.outputConsole.toConsole("Place path start");
			break;
		}
		case PlaceType.PATH_END: {
			this.outputConsole.clearConsole();
			this.outputConsole.toConsole("Place path end");
			break;
		}
		}
	};
	
	/**
	 * @public
	 */
	this.getPlaceType = function() {
		return this.placeType;
	};
	
	/**
	 * @public
	 */
	this.clickClearButton = function() {
		this.outputConsole.clearConsole();
		this.clear = true;
		this.isStartPlaced = false;
		this.isEndPlaced = false;
	};
	
	/**
	 * @public
	 */
	this.freezeMenu = function() {
		
	};
	
	/**
	 * @public
	 */
	this.unfreezeMenu = function() {
		
	};
} 